Support all garbage collector tests#2622
Conversation
e973c0b to
2426298
Compare
|
It looks like garbage collection tests are finally working. It took me 4 months, but the initial version of garbage collection support is completed. I think I understand the concept of references in WebAssembly, and know why it works that way. The code probably needs a lot of changes. |
645b133 to
1917fb3
Compare
from: WebAssembly/wabt#2622 https://github.com/zherczeg/wabt/tree/gc_tests Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3) WebAssembly/wabt#2622 Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3) WebAssembly/wabt#2622 Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3) WebAssembly/wabt#2622 Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3) WebAssembly/wabt#2622 Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
from: https://github.com/zherczeg/wabt/tree/gc_tests (1917fb3) WebAssembly/wabt#2622 Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
note: this requires a version of wabt which doesn't exist yet, see WebAssembly/wabt#2622
46dac3d to
692da15
Compare
|
So exciting to see this moving along! |
|
Thank you! I try to update this patchset reguraly. The longer term aim is full wasm 3.0 support, but I also do some work on WebAssembly Components. Do you need this code for something? |
|
I work with the |
|
If you want a sample file: https://bouncing.web.app/main.dart.wasm |
743218b to
595a459
Compare
9e1178d to
afe6c80
Compare
This patch supports parsing the new GC types - Abstract types - Recursive types - Composite types The patch also improves type comparison.
|
Sweet! |
|
I am updating these patches but I don't know when they land. The first one in the set has a birthday soon! |
This patch adds support for all tests in
testsuite/proposals/gc. Two tests are still missing.